projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a210860
)
(MAXDESC): Get it from FD_SETSIZE if that exists.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 29 May 1993 05:02:18 +0000
(
05:02
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 29 May 1993 05:02:18 +0000
(
05:02
+0000)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index f2c01258774eb5b21568490a786501d9b1373d0a..7bada8607c7a1fe53aaa356f63cbbab06404657a 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-235,7
+235,11
@@
int update_tick;
/* We could get this from param.h, but better not to depend on finding that.
And better not to risk that it might define other symbols used in this
file. */
+#ifdef FD_SETSIZE
+#define MAXDESC FD_SETSIZE
+#else
#define MAXDESC 64
+#endif
#define SELECT_TYPE fd_set
#else /* no FD_SET */
#define MAXDESC 32